home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
076-100
/
scopedisk89
/
uut
/
readme
< prev
next >
Wrap
Text File
|
1995-03-19
|
2KB
|
69 lines
various unix-like utilties: strings, head, lc
Copyright 1989 Edwin Hoogerbeets
This code is freely redistributable as long as no charge other than
reasonable copying fees is levied for it.
----------
strings - show printable strings embedded in a binary file
Usage:
strings [file ...]
Notes:
If no file name is specified, then strings takes from the stdin.
I know type opt h will do the same thing, but I like having all the
Unix utilities available should I happen to type them. (and not
aliased, either)
---------
head - show the beginning lines of a file
Usage:
head [-#] [file ...]
-# specify number of lines from the beginning of file to print
Notes:
I wrote this because we do not have a head on System V at work, and it
annoyed me to no end. I wrote it to conform to the man page from the
Sun, and and it works fine. I downloaded it to my Ami and found that
there was 0 porting work to be done. (for Manx at least, I don't know
about Lattice -- there should be no problem whatsoever.)
--------
lc - a directory lister in the style of the Waterloo lc for BSD Unix
Usage:
lc [-dfa] [directory ...]
-d only list directories
-f only list files
-a all files (useful for listing the directory called "-d")
Notes:
This is another little hack I wrote up while "getting into" DOS. It
works, and I like the format of the output. (We have lc at work and
at school, so it's like a standard for me at least...)
Some of the code is kludgy, (I know, I know) but I do not plan to
upgrade it very much. As I said, it works already.
Acknowledgements:
Thanks goes to Matt Dillon. I hacked his quicksort and window size finding
routines from the shell into this code. I don't know what's wrong with the
Manx qsort, but it is neither quick nor a sort. (gave me rubbish, it did!)
------------
Please redirect any comments, criticisms, left-over chocolate Easter
bunnies, buxomous single females or nymphomaniacs to:
Edwin Hoogerbeets (It's a Dutch name. I was born with it... )
Usenet: ...!utzoo!hcr!edwin or edwin@hcr (until Apr 30,89)
edwin@watcsc.waterloo.edu (thereafter)
CIS: 72647,3675 (any time at all)